CWS Command-line Tool - ResetSynchronizer |
|
The command-line tool ResetSynchronizer can be used to solve the synchronization problems in case of unrecoverable errors. It can be used for single workspaces only. When running the tool, the current synchronization folder of the respective workspace will be renamed. In the next synchronization, the workspace content will be stored in a freshly created synchronization folder as it is in the CWS repository.
Note: If the workspace previously had SVN-integration, that integration will be lost after running the ResetSynchronizer tool.
For general instructions on how to use the CWS command-line tools, refer to Using the CWS Command-line Tools.
The command-line tool ResetSynchronizer accepts two parameters:
ResetSynchronizer <ORGANIZATION NAME> <WORKSPACE NAME>
where,
- <ORGANIZATION NAME> is the name of the organization in which the workspace resides
- <WORKSPACE NAME> is the name of the workspace
For example, if your organization is called 'MyOrganization', and you have a workspace called 'MyWorkspace', resetting the synchronizer for this workspace can be done using the following command:
ResetSynchronizer MyOrganization MyWorkspace
In cases where the name of the organization or the name of the workspace contain white space characters, you must include them in double quotes as shown below:
ResetSynchronizer "My Organization" "My Workspace"